{% extends "index.html" %}

{% block inline_navi %}
    <a href="{% url documents.views.index %}">
    	Dokumente
   	</a>
    &nbsp;>&nbsp;
    <a href="{% url documents.views.modulelist document.module_term.module.faculty.id %}">
    	{{ document.module_term.module.faculty }}
   	</a>
    &nbsp;>&nbsp;
    <a href="{% url documents.views.module document.module_term.id %}">
    	{{ document.module_term.module.name }} ({{ document.module_term.lecturer.last_name }} - {{ document.module_term.semester }})
    </a>
    &nbsp;>&nbsp;
    {{ document.module_part.name }}
    &nbsp;>&nbsp;
    Lerneinheit löschen
{% endblock %}


{% block box_title %}
	Dokument löschen?
{% endblock %}
{% block box_content %}
	<p>
	    Willst du wirklich die Lerneinheit "{{ document.name }}" löschen?
	</p>
	
	<form action="{% url documents.views.delete_document document.id %}" enctype="multipart/form-data" method="post">
	    {% csrf_token %}
        <tr>
            <td colspan="2" align="center" style="padding-top: 10px;">
                <input type="submit" value="Ja" />
            </td>
        </tr>
	    </table>
	</form>
{% endblock %}